body{
    width: 100%;
    min-width: 8.533333rem;
    max-width: 17.066667rem;
    margin: 0 auto;
    background-color: #fff;
    font-size: 0.373333rem;
    font-family: -apple-system, sans-serif,Helvetica;
    color: #666;
    line-height: 1.5;
   
}
section {
    position: relative;
    width: 8rem;
    height: 5.333333rem;
    margin: 2.666667rem auto;
    transform-style: preserve-3d;
    animation: rotate 4s infinite;
}

section:hover {
    animation-play-state: paused;
}

@keyframes rotate {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotateY(360deg);
    }

}

section div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

img {
    width: 100%;
    height: 100%;
}

section div:nth-child(1) {
    transform: translateZ(8rem);
}

section div:nth-child(2) {
    transform: rotateY(60deg) translateZ(8rem);
}

section div:nth-child(3) {
    transform: rotateY(120deg) translateZ(8rem);
}

section div:nth-child(4) {
    transform: rotateY(180deg) translateZ(8rem);
}

section div:nth-child(5) {
    transform: rotateY(240deg) translateZ(8rem)
}

section div:nth-child(6) {
    transform: rotateY(300deg) translateZ(8rem)
}

ul {
    margin: 1.333333rem 0;
}

ul li {
    float: left;
    width: 4.266667rem;
    height: 4.266667rem;
    list-style: none;
}

.box1,
.box2,
.box3,
.box4,
.box5 {
    position: relative;

    width: 100%;
    height: 100%;
    transition: all 4s;
    transform-style: preserve-3d;
    text-align: center;
    line-height: 4.266667rem;
    color: #fff;
    font-size: 2.133333rem;
}

.box1 {
    animation: xuanzhuan 4s forwards;
}

.box2 {
    animation: xuanzhuan 4s 1s forwards;
}

.box3 {
    animation: xuanzhuan 4s 2s forwards;
}

.box4 {
    animation: xuanzhuan 4s 3s forwards;
}

.box5 {
    animation: xuanzhuan 4s 4s forwards;
}


@keyframes xuanzhuan {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotateX(90deg);
    }
}



.front,
.buttom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.front {
    background-color: pink;
    z-index: 1;
    transform: translateZ(2.133333rem);
}

.buttom {
    background-color: purple;
    transform: translateY(2.133333rem) rotateX(-90deg);
    /* margin-top: 18px; */
}